package com.hdu.dwh.vos;

import java.util.Set;

import com.hdu.dwh.pojos.FlinkJob;
import com.hdu.dwh.pojos.source_access_pojos.SourceAccess;
import com.hdu.dwh.pojos.source_access_pojos.TableRelation;
import com.hdu.dwh.pojos.source_access_pojos.DataWarehouseDatabase;
import com.hdu.dwh.pojos.source_access_pojos.DataWarehouseTable;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 返回SourceTable和SourceAccess和SourceDatabase和FlinkJob
 * 真难起名字
 */
@Data
@NoArgsConstructor
public class DwhTableCDCVo {
    private SourceAccess sourceAccess;
    private DataWarehouseDatabase sourceDatabase;
    private DataWarehouseDatabase targetDatabase;
    private DataWarehouseTable sourceTable;
    private DataWarehouseTable targetTable;

    private FlinkJob flinkJob;

    public DwhTableCDCVo(
        SourceAccess sa,
        DataWarehouseDatabase sdb,
        DataWarehouseTable stb,
        DataWarehouseDatabase tdb,
        DataWarehouseTable ttb,
        FlinkJob fJob) {
        this.sourceAccess = sa;
        this.sourceDatabase = sdb;
        this.sourceTable = stb;
        this.targetDatabase = tdb;
        this.targetTable = ttb;
        this.flinkJob = fJob;
    }
}
